import request from '@/utils/request'

// 排版管理员工表格
export const composingStaffAPI = (params) => {
  return request({
    url: '/work-schedulings',
    params
  })
}
// 工作模式-工作模式列表查询
export const workPatternListAPI = () => {
  return request({
    url: '/work-patterns/all'
  })
}
// 工作模式-工作模式分页查询
export const gitWorkPagingAPI = (params) => {
  return request({
    url: '/work-patterns/page',
    params
  })
}
// 工作模式-删除工作模式
export const delWorkPatternAPI = (id) => {
  return request({
    url: `/work-patterns/${id}`,
    method: 'DELETE'
  })
}
